package top.haijunit.work.modules.access.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.haijunit.work.modules.access.domain.PermissionMerge;
import top.haijunit.work.modules.access.entity.RoleEntity;

import java.util.List;

/**
 * @author zhanghaijun
 * @description 针对表【access_ROLE(角色表)】的数据库操作Mapper
 */
@Mapper
public interface RoleMapper extends BaseMapper<RoleEntity> {

    List<PermissionMerge> selectRolePermissionByRoleId(@Param("roleCodes") List<Long> roleCode);
}




